package cn.edu.zknu.mita.model;

/**
 * Created by iwlnner on 2020/3/19.
 */

public class User {
    private Long id;
    private String username;
    private String password;
    private String tel;
    private Integer type;
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public User(Long id, String username, String password, String tel, Integer type, Integer status) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.tel = tel;
        this.type = type;
        this.status = status;
    }

    public User(){

    }
    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", tel='" + tel + '\'' +
                ", type=" + type +
                ", status=" + status +
                '}';
    }
}
